package com.hjzd.ai.smartpractice.websocket;

/**
 * 用户登录验证
 *
 * @author leiniao
 * @version 1.0.0
 */
public class AuthUserDTO {

	private Long id;
	private String nick;
	private Long timestamp;
	private boolean seed;
	private Integer role;	// 角色: 1 - 用户, 2 - 咨询师

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

	public boolean isSeed() {
		return seed;
	}

	public void setSeed(boolean seed) {
		this.seed = seed;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "AuthUserDTO{" +
				"id=" + id +
				", nick='" + nick + '\'' +
				", timestamp=" + timestamp +
				", seed=" + seed +
				", role=" + role +
				'}';
	}
}
